package DAO;

import java.util.List;
import java.util.UUID;

import common.Exceptions.DAOException;

public interface BaseDAO<T>
{
	abstract void insert(T item) throws DAOException;
	abstract void update(T item) throws DAOException;
	abstract void delete(UUID id) throws DAOException;
	abstract List<T> getAll() throws DAOException;
	abstract T getByID(UUID id) throws DAOException;
}
